import http from './https'
//注册接口
export function copy(params){
    return http.post('/user/reg',params)
}
//登录接口
export function login(params){
    return http.post('/user/login',params)
}
//发送验证码接口
export function sendSms(params){
    return http.post('/user/sendSms',params)
}
//注销账号
export function delete_user(params){
    //{username，password}
    return http.post('/user/delete_user',params)
}